package com.bringway.p2p.service.impl;

import java.util.List;
import java.util.Map;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bringway.p2p.dao.ZctztjDao;
import com.bringway.p2p.service.ZctztjService;

import net.sf.json.JSONObject;
@Service
public class ZctztjServiceImpl implements ZctztjService {
	Logger logger=Logger.getLogger(ZctztjServiceImpl.class);
	@Autowired
	private ZctztjDao zctztjDao;

	@Override
	public List<Map<String, Object>> queryZctztjList(JSONObject params) {
		return zctztjDao.queryZctztjList(params);
	}

	@Override
	public int getZctztjCount(JSONObject params) {
		return zctztjDao.getZctztjCount(params);
	}

	@Override
	public List<Map<String, Object>> queryGrtz(JSONObject params) {
		return zctztjDao.queryGrtz(params);
	}

	@Override
	public int getGrtzCount(JSONObject params) {
		return zctztjDao.getGrtzCount(params);
	}

	@Override
	public float getGrtzJe(JSONObject params) {
		return zctztjDao.getGrtzJe(params);
	}

}
